export const getRouter = routers => {
  var reslist = []

  for (let i = 0; i < routers.length; i++) {
    var element = routers[i];
    if (!element.isHidden && !element.meta && !element.meta.isHidden) {
      continue
    }

    reslist.push(
      {
        router: element.path,
        title: element.meta.title,
      }
    )
  }



  return reslist

}